// 配送区域
const {DataTypes, db } = require("../db");
db.define('psGoods', {
id: {type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true,comment:'表自增ID'},
tenantId:{type: DataTypes.INTEGER,allowNull:false,comment:'租户ID'},
invCode:{type: DataTypes.STRING(50),comment:'商品编码'},
invName:{type: DataTypes.STRING(200),comment:'商品名称'},
spec:{type: DataTypes.STRING(12),comment:'规格'},
unit1:{type: DataTypes.STRING(12),comment:'大单位'},
unit2:{type: DataTypes.STRING(12),comment:'小单位'},

}, {
    tableName: 'ps_goods',
    timestamps: false,
    comment: '配送商品列表',
});